home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 103
/
Vol 103.iso
/
games
/
uni_cycl.swf
/
scripts
/
frame_38
/
PlaceObject2_121_75
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2010-03-13
|
607b
|
31 lines
onClipEvent(enterFrame){
if(this.hitTest(_root.startpoint))
{
chal = 0;
}
else
{
chal = 1;
}
_X = _root.dog._x + 3;
_Y = _root.dog._y + 40;
if(amitchal == true)
{
if(chal == 1)
{
if(!_root.br.hitTest(this._x,this._y + 10,true))
{
_root.dog.gotoAndStop(3);
_root.dog.go = false;
_root.gamego = false;
_root.cycling = false;
}
else
{
_root.cycling = true;
_root.dog.gotoAndStop(2);
}
}
}
}